﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hrm.Core
{
    public interface IEntity<TPrimaryKey>
    {
        TPrimaryKey Id { get; set; }

        bool IsEnable { get; set; }

        //DateTime CreateDatetime { get; set; }

        //string CreateUserCode { get; set; }

        //DateTime UpdateDatetime { get; set; }

        //string UpdateUserCode { get; set; }

        bool IsTransient();
    }
}
